Skip to content

[TA] Add overloads to actions#22053

Merged
maririos merged 2 commits intoAzure:feature/textanalyticsv31from
maririos:optionsoverload
Jun 23, 2021
Merged

[TA] Add overloads to actions#22053
maririos merged 2 commits intoAzure:feature/textanalyticsv31from
maririos:optionsoverload

Conversation

@maririos
Copy link
Copy Markdown
Member

Last feedback from architects. Add overloads to help users go from a singular method to a analyze method.

Comment thread sdk/textanalytics/Azure.AI.TextAnalytics/src/Transforms.cs
#region Analyze sentiment

[Test]
public async Task AnalyzeOperationAnalyzeSentimentWithDisableServiceLogs()
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we didn't have mock tests for analyze sentiment, so also adding that :)

Comment thread sdk/textanalytics/Azure.AI.TextAnalytics/src/RecognizePiiEntitiesAction.cs Outdated
Comment thread sdk/textanalytics/Azure.AI.TextAnalytics/src/Transforms.cs
Comment thread sdk/textanalytics/Azure.AI.TextAnalytics/src/Transforms.cs
Copy link
Copy Markdown
Contributor

@kinelski kinelski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@maririos maririos merged commit cc469f5 into Azure:feature/textanalyticsv31 Jun 23, 2021
maririos added a commit that referenced this pull request Jun 23, 2021
* add overloads to actions

* PR feedback
maririos added a commit that referenced this pull request Jun 29, 2021
* add overloads to actions

* PR feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants